Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement range selection with shift-click in the time panel #8870

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

abey79
Copy link
Member

@abey79 abey79 commented Jan 30, 2025

What

Same as #8852 but in the streams tree.

This time, the visitor is slightly weird in that it enumerates the component on the fly instead of having them in the data structure. The reason for that is that this is costly and we don't want to always do it even if we dont needed (eg. when the tree is collapsed).

shift-click-streams.mp4

Copy link

github-actions bot commented Jan 30, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
4b4ea81 https://rerun.io/viewer/pr/8870 +nightly +main

Note: This comment is updated whenever you push a commit.

@abey79 abey79 marked this pull request as ready for review January 30, 2025 14:02
@abey79 abey79 added ui concerns graphical user interface include in changelog labels Jan 30, 2025
@Wumpf Wumpf self-requested a review January 30, 2025 14:18
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, reading this right after the blueprint tree one this feels like more of the same with situational adaptation :)

re_log.workspace = true
re_log_types.workspace = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

somewhat curious this needs log types actually and not just types_core, ah well...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was there already, was just reordered.

use re_log_types::{
    ApplicationId, ComponentPath, EntityPath, ResolvedTimeRange, TimeInt, TimeReal, TimeType,
};

crates/viewer/re_time_panel/src/lib.rs Outdated Show resolved Hide resolved
crates/viewer/re_time_panel/src/lib.rs Outdated Show resolved Hide resolved
@Wumpf
Copy link
Member

Wumpf commented Jan 30, 2025

again, surprised this doesn't come with tests

@abey79
Copy link
Member Author

abey79 commented Jan 30, 2025

again, surprised this doesn't come with tests

#8871

@abey79 abey79 force-pushed the antoine/filt7-refactor-streams-tree branch from a2417ae to 0c1eb2c Compare January 30, 2025 15:31
@abey79 abey79 force-pushed the antoine/range-select-streams-tree branch from 931672e to 9e300eb Compare January 30, 2025 15:41
@abey79 abey79 added the do-not-merge Do not merge this PR label Jan 30, 2025
Base automatically changed from antoine/filt7-refactor-streams-tree to main January 30, 2025 15:58
@abey79 abey79 force-pushed the antoine/range-select-streams-tree branch from 9e300eb to 4b4ea81 Compare January 30, 2025 15:58
@abey79 abey79 removed the do-not-merge Do not merge this PR label Jan 30, 2025
@abey79 abey79 merged commit f85eb75 into main Jan 30, 2025
33 of 34 checks passed
@abey79 abey79 deleted the antoine/range-select-streams-tree branch January 30, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include in changelog ui concerns graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants